# -*- coding:utf-8 -*-
# @Author: shenyuyu
# @Time: 2023/6/15 15:10
# @File: test1.py

import os

files = os.listdir("test")
for i in files:
    if os.path.isfile("test/" + i):
        os.rename("test/" + i, "test/" + i.replace(".txt", "_name.txt"))
